Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Update changelog for v0.0.104#90

Merged
jhaynie merged 2 commits intomainfrom
devin/1735040522-update-changelog-v0.0.104
Aug 28, 2025
Merged

Update changelog for v0.0.104#90
jhaynie merged 2 commits intomainfrom
devin/1735040522-update-changelog-v0.0.104

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented Aug 28, 2025

Update changelog for v0.0.104

Summary

Added changelog entry for Python SDK v0.0.104 release, documenting the breaking changes around run_idsession_id parameter rename, the switch from OpenLIT to TraceLoop SDK, and fixes for async context management issues. Also added the version comparison link at the bottom of the file.

Review & Testing Checklist for Human

Notes

This PR only updates documentation and follows the existing Keep a Changelog format. The breaking changes section includes both the change description and a clear migration path for users.

Link to Devin run: https://app.devin.ai/sessions/65094850b3484faaa2a4df57ef002244
Requested by: unknown user

Summary by CodeRabbit

  • Breaking Changes

    • AgentContext constructor now uses "session" terminology instead of "run" terminology; the old identifier is deprecated but retained for compatibility.
  • Changed

    • Switched tracing/instrumentation to a new SDK to improve async context handling and reliability.
  • Fixed

    • Resolved async context attach/detach warnings, improving stability in async environments (including LangChain integrations).
  • Chores

    • Updated CHANGELOG with version 0.0.104 entry.

Co-Authored-By: unknown <>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Aug 28, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Updates CHANGELOG.md with a new 0.0.104 entry documenting a constructor parameter rename (run_id → session_id) with a deprecated runId property, switches OpenTelemetry instrumentation to the TraceLoop SDK, and notes fixes for async context attach/detach warnings.

Changes

Cohort / File(s) Summary
Changelog
CHANGELOG.md
Added 0.0.104 entry (2025-08-28): breaking change renaming AgentContext constructor param run_idsession_id (deprecated runId retained), switched OpenTelemetry instrumentation to TraceLoop SDK, and documented async context warnings fix; updated changelog index.
AgentContext API
src/.../agent_context.py, .../context.py
Constructor parameter renamed from run_idsession_id; runId property deprecated but kept for backward compatibility.
Telemetry / Instrumentation
src/.../instrumentation/opentelemetry.py, .../telemetry_traceloop.py
Replaced OpenLIT-based OpenTelemetry integration with TraceLoop SDK integration to improve async context management and eliminate cross-context attach/detach warnings.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor App
  participant Agent
  participant Context as AgentContext
  participant Telemetry as TraceLoop SDK

  App->>Agent: initialize(...)
  Agent->>Context: AgentContext(session_id=...)
  note right of Context #D3F9D8: runId property present (deprecated)
  Context->>Telemetry: start span / attach async context
  Telemetry-->>Context: context attached (async-safe)
  Agent->>Telemetry: instrument operations
  Telemetry-->>Agent: spans recorded
  Agent->>Telemetry: detach context (async-safe)
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • jsw324
  • jhaynie

Poem

I hop through code with nimble paws,
Sessions renamed without a pause.
TraceLoop lights each async trail,
No tangled threads, no warning wail.
0.0.104 — a joyous hop of glee. 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 2a404ec and 2dfa903.

📒 Files selected for processing (1)
  • CHANGELOG.md (2 hunks)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch devin/1735040522-update-changelog-v0.0.104

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbit in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbit in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbit gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbit read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbit help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbit ignore or @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbit summary or @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbit or @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot requested review from jhaynie and jsw324 August 28, 2025 18:05
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (3)
CHANGELOG.md (3)

10-17: Clarify deprecation wording and Python naming; migration example looks correct

Consider clarifying which Python attributes remain as compatibility aliases to avoid confusion between run_id (snake_case) and runId (camelCase). If both aliases exist, say so; if only one exists, name that one explicitly. Also state that they’re deprecated and will be removed in a future release.

Please confirm in code whether AgentContext still:

  • accepts run_id= in the constructor, and
  • exposes context.run_id and/or context.runId as aliases.

Suggested edit:

- The AgentContext constructor parameter has been renamed from `run_id` to `session_id` for better alignment with how we reference sessions. The `runId` property is still available for backward compatibility but is deprecated. ([#89](https://github.com/agentuity/sdk-py/pull/89))
+ The AgentContext constructor parameter has been renamed from `run_id` to `session_id`. For backward compatibility, `AgentContext` still accepts `run_id` and exposes read-only aliases (`context.run_id` and/or `context.runId`), which are deprecated and will be removed in a future release. ([#89](https://github.com/agentuity/sdk-py/pull/89))

19-24: Name the exact packages and link them; verify capitalization

To make the “Changed”/“Fixed” notes more actionable, name the package identifiers and add links. Also confirm whether the project name is “TraceLoop” or “Traceloop” in your ecosystem and use it consistently.

  • Add package names, e.g., “OpenLIT (python package: openlit-otel?) → TraceLoop (python package: traceloop-otel?)”.
  • If applicable, add links to the projects’ repos/docs.

Example tweak:

- Switch from OpenLIT to TraceLoop SDK for OpenTelemetry instrumentation to improve async context management ([#88](https://github.com/agentuity/sdk-py/pull/88))
+ Switch from OpenLIT to TraceLoop (Traceloop) OpenTelemetry instrumentation to improve async context management ([#88](https://github.com/agentuity/sdk-py/pull/88))

314-315: Reorder CHANGELOG.md version links
The compare link for v0.0.104 is valid, but its reference should be moved above the [0.0.82] entry to maintain descending version order.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between b2e8610 and 2a404ec.

📒 Files selected for processing (1)
  • CHANGELOG.md (2 hunks)
🧰 Additional context used
🪛 LanguageTool
CHANGELOG.md

[grammar] ~19-~19: There might be a mistake here.
Context: ...ion_id="sess_123", ...) ``` ### Changed - Switch from OpenLIT to TraceLoop SDK for...

(QB_NEW_EN)


[grammar] ~22-~22: There might be a mistake here.
Context: ...om//pull/88)) ### Fixed - Resolved "context attached/detached in a...

(QB_NEW_EN)

🔇 Additional comments (2)
CHANGELOG.md (2)

8-8: Verify release date in CHANGELOG.md
The date “2025-08-28” in CHANGELOG.md must match the published date of tag v0.0.104. Please confirm the release’s published date and update this entry if it differs.


10-24: Cannot locate PRs #88 and #89
I wasn’t able to find those PRs in the public agentuity/sdk-py repository. Please provide direct GitHub links or grant access so I can confirm the instrumentation switch (OpenLIT → TraceLoop) and the run_idsession_id rename with deprecation alias.

Comment thread CHANGELOG.md Outdated
[0.0.71]: https://github.com/agentuity/sdk-py/compare/v0.0.70...v0.0.71
[0.0.70]: https://github.com/agentuity/sdk-py/compare/v0.0.69...v0.0.70

[0.0.104]: https://github.com/agentuity/sdk-py/compare/v0.0.103...v0.0.104
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put this in the correct order

@jhaynie jhaynie merged commit 0d56f0a into main Aug 28, 2025
4 of 5 checks passed
@jhaynie jhaynie deleted the devin/1735040522-update-changelog-v0.0.104 branch August 28, 2025 22:13
@coderabbitai coderabbitai Bot requested a review from jhaynie August 28, 2025 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant